package com.burst.reptile.modular.zp.service;

import com.burst.reptile.modular.zp.entity.ZpReport;
import com.burst.reptile.modular.zp.form.ReportForm;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 举报信息 服务类
 * </p>
 *
 * @author wujin
 * @since 2020-06-29
 */
public interface IZpReportService extends IService<ZpReport> {

	/**
	 * 举报
	 * @param reportForm
	 * @return
	 */
	int report(ReportForm reportForm);

	/**
	 * 分页获取举报内容
	 * @param page 分页信息
	 * @param report 查询条件
	 * @return
	 */
	Page<ZpReport> pageList(Page<ZpReport> page, ZpReport report);

}
